package com.gpframework.module.order.domain.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import javax.validation.constraints.*;


/**
 * @ClassName GpFlowConfigRoleRelaAdd
 * @Author gpframework
 * @Date 2023-06-19
 * @Version 1.0.0
 * @Description 流转节点角色关联Add对象
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
public class GpFlowConfigRoleRelaAdd {
    private static final long serialVersionUID = 1L;

    /** 品牌id */
    @ApiModelProperty("品牌id")
    private String brandId;

    /** 品牌名称 */
    @ApiModelProperty("品牌名称")
    private String brandName;

    /** 流转节点id */
    @ApiModelProperty(value = "流转节点id",required = true)
        @NotNull(message = "请输入流转节点id")
    private Long configId;

    /** 角色id */
    @ApiModelProperty(value = "角色id",required = true)
        @NotNull(message = "请输入角色id")
    private Long roleId;

    /** 备注 */
    @ApiModelProperty("备注")
    private String remarks;

}
